

f=${1//.md/}
f=${f}.md

title=${2//.md/}
nf=${title}.md

sed -i "" 's/^title:.*$/title: '"'$title'/" "$f"
mv $f $nf
